{% extends "generalTemplate.html" %}
{% block pageName %}Basic user information.{% endblock %}

{% block queryScript %}
<script language="javascript" type="text/javascript">
	function load_info() {
	}
</script>

{% endblock %}
{% block container %}
<div id="col2">
<a href="../account/register"><h1> Get Involved!</h1></a>
<br />
<hr />


<h2>RECENT EDITS</h2>
<table width="100%">
<tr>
	<td width="50%">
	
	{% for data in edit_userlist|slice:"0:10" %}
	
			{{data}}
				<br>	<hr />
			
	{% endfor %}
	</td>
		<td width="50%">
		{% for data in edit_userlist|slice:"10:20" %}
			
				{{data}}
						
				<br><hr />
				
		{% endfor %}
		</td>
</tr>
</table>

<h2>Users</h2>
<table width="100%" >
<tr>
	<td width="50%">
		
		{% for user in users|slice:":10" %}
		<table width="100%">
		<tr>
			<td width="20%">
			{% if user.user_image %}
			<img src="/user_img/{{ user.username }}" width="80" height="80" align="top" >			
			{%	else   %}
			<img src="/bvuserapp/static/images/blank.png" width="80" height="80" align="top" >			
			{%	endif  %}
			</td>
			<td width="80%">
			<a href="../user/{{user.username}}">{{ user }} </a>
			  <b><br />Topics Edited:</b>&nbsp;&nbsp;{{ user.mt_edits }}
			<br />
			
			{{user.personal_statement}}
			</td>
		</tr>
		
		</table>
		<hr />
		{% endfor %}
	</td>
	
	<td width="50%">
		{% for user in users|slice:"10:20" %}
		<table width="100%">
		<tr>
			<td width="20%">
			
			<img src="/user_img/{{ user.username }}" width="80" height="80" align="top" alt="No Image" >			</td>
			<td width="80%">
			<a href="../user/{{user.username}}">{{ user }} </a>
			  <b><br />Topics Edited:</b>&nbsp;&nbsp;{{ user.mt_edits }}
			<br />
			<br />
			{{user.personal_statement}}
			</td>
		</tr>
		</table>	<hr />
		{% endfor %}
	</td>
</tr>
</table>

</div>

{% endblock %}


